package com.spzx.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.spzx.product.api.domain.ProductSku;
import com.spzx.mapper.ProductSkuMapper;
import com.spzx.product.api.domain.DTO.SkuDTO;
import com.spzx.service.ProductSkuService;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ProductSkuServiceImpl extends ServiceImpl<ProductSkuMapper, ProductSku> implements ProductSkuService {
    @Resource
    ProductSkuMapper productSkuMapper;
    public List<ProductSku> listHotInfo() {
        return productSkuMapper.listHotInfo();
    }

    @Override
    public List<ProductSku> skuList(SkuDTO skuDTO) {

        return  productSkuMapper.skuList(skuDTO);
    }
}
